<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:c="http://xmlns.jcp.org/jsf/composite"
	xmlns:p="http://primefaces.org/ui">
<h:head>
    <link type="text/css" rel="stylesheet"  
        href="../../css/skytefAcesso.css" />  
</h:head>
<h:body>

	<h:form>
		<p:menubar styleClass="menuBar">

			<p:submenu label="Cadastros">
				<p:menuitem value="Menu" ajax="false" icon="ui-icon-plus"
					action="#{DashboardBean.pageMenu}" />
				<p:menuitem value="Usuário" ajax="false" icon="ui-icon-plus"
					action="#{DashboardBean.pageUsuario}"
					actionListener="#{CadUsuarioBean.refresh()}" />
				<p:menuitem value="Categoria" ajax="false" icon="ui-icon-plus"
					action="#{DashboardBean.pageCategoria}" />
				<p:menuitem value="Produto" ajax="false" icon="ui-icon-plus"
					action="#{DashboardBean.pageProduto}" />
			</p:submenu>
			<p:submenu label="Relatórios">
				<p:menuitem value="Relatório Usuário" ajax="false"
					icon="ui-icon-document"
					action="#{DashboardBean.pageVisualizarUsuarios}"
					actionListener="#{CadUsuarioBean.refresh()}" />

				<p:menuitem value="Relatório Pedidos" ajax="false"
					icon="ui-icon-document" action="#{DashboardBean.pageRelatorioPed}"
					actionListener="#{RelatorioBean.refresh()}" />

				<p:menuitem value="Relatório Produto" ajax="false"
					icon="ui-icon-plus" action="#{DashboardBean.pageVisualizaProduto}"
					actionListener="#{CadProdutoBean.refresh()}" />
			</p:submenu>
		</p:menubar>

	</h:form>
</h:body>
</html>
